import Vue from 'vue'
import App from './App.vue'
import '@vant/touch-emulator';

import router from './router'


Vue.config.productionTip = false

import 'vant/lib/index.css';
import { Button,NavBar,Tabbar,TabbarItem,Swipe,SwipeItem,Icon,Sidebar,SidebarItem } from 'vant';
import { Cell, CellGroup,Divider,Card,Rate,Tag,PullRefresh,Search,Toast,NoticeBar } from 'vant';
import { Row, Col, Image, Grid, GridItem, Panel, Tab, Tabs, Field, SubmitBar } from 'vant';
Vue.use(Rate).use(Tag).use(Card).use(Divider).use(Cell).use(CellGroup).use(Tabbar).use(TabbarItem).use(Swipe).use(SwipeItem);
Vue.use(Button).use(NavBar).use(PullRefresh).use(Search).use(Toast).use(Row).use(Col).use(Image).use(Icon);
Vue.use(Grid).use(GridItem).use(Panel).use(Tab).use(Tabs).use(Field).use(SubmitBar).use(Sidebar).use(SidebarItem);
Vue.use(NoticeBar);


new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
